import layout from "@/layout/";

const meta = { auth: true, toolbar: true };

export default {
  path: "/comment",
  name: "comment",
  meta,
  redirect: { name: "comment-index" },
  component: layout,
  children: (pre => [
    {
      path: "index",
      name: `${pre}index`,
      component: () => import("@/pages/components/comment/reply"), // 未使用
      meta: { ...meta, title: "评论详情" }
    },
    {
      path: "reply",
      name: `${pre}reply`,
      component: () => import("@/pages/components/comment/reply"),
      meta: { ...meta, title: "评论详情" }
    }
  ])("comment-")
};
